<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="./rating/rating.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <div id="rating" class="rating">
        <div class="rating-display"></div>
        <ul class="rating-mask">
        </ul>
    </div>
    <script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
	<script src="./rating/rating.js"></script>
    <script>
        $(".rating").rating({
            num: 3,
            mode: "half",
            chosen: function () {
                $("#rating").rating("unBind");
            }
        })
    </script>
</body>

</html>